<template>
	<view>
		<view class="title">详情页</view>
		<!-- <view class="btn btnDraw" @click="handleTo()">返回上一页</view>
		<view class="btn btnDraw" @click="handleTo()">跳转tabbar栏页面</view>
		<view class="btn btnDraw" @click="handleTo()">关闭所有页面栈，跳转到指定页面</view>
		<view class="btn btnDraw" @click="handleTo()">关闭当前页面，跳转到指定页面</view> -->
	</view>
</template>

<script>
export default {
	data() {
		return {
			
		};
	},
	onLoad() {
		
	},
	onHide() {
		
	},
	onUnload() {
		this.unloadEvent()
	},
	methods: {
		handleTo(){
			wx.navigateTo({
				url:'/pages/me/draw'
			})
			this.unloadEvent()
		}
	}
};
</script>

<style>
	.title{
		text-align: center;
		margin-top: 20px;
	}
	.btn{
		background-color: #ccc;border: 1px solid #ccc;height: 50px;line-height: 50px;
		margin: 20px;
		text-align: center;
	}
	.btnDraw{
		background-color: #2f85fc;
		color: #fff;
	}
</style>
